package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Scene;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SceneMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Scene record);

    Scene selectByPrimaryKey(Integer id);

    List<Scene> selectForList(QueryObject qo);

    int updateByPrimaryKey(Scene record);

    List<Scene> selectScenesByThemeId(@Param("themeId") Long themeId);

    List<Scene> listAll();

    List<Scene> selectScenesByRegionId(@Param("id") Long id);

    List<Scene> selectAll();

}